package cn.itcast.wanxinp2p.consumer.mapper;

import cn.itcast.wanxinp2p.api.account.model.ConsumerRegisterDTO;
import cn.itcast.wanxinp2p.consumer.entity.Consumer;
import org.mapstruct.Mapper;

@Mapper
public interface ConsumerMapper {
    Integer bymobile(String mobile);

    Integer save(Consumer consumer);

    void deleteByMobile(String mobile);
}
